﻿using Estsh.Core.Base;
using Estsh.Core.Model.Extend.Models;
using Estsh.Core.Model.Result;
using Estsh.Core.Models;
using Estsh.Core.Services;
using NPOI.POIFS.Properties;
using NPOI.SS.Formula.Functions;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Estsh.Core.Wms.IServices
{
	public interface IProductionReportingService : IBaseService<BaseEntity>
	{

		public List<Syspdline_Extend> GetSysPdlineList( string userId);
		public List<MesWorkOrder_Extend> GetWorkOrderByPdlineId(string pdlineId);

		public SetObjectDetail GetEmPdlineByOrderNoAndPdline( string pdlineId, string orderNo);
		public SetObjectDetail GetWorkOrderByPdlineIdAndOrderNo(string pdlineId, string orderNo);
		public SetObjectDetail SaveEmpByPdline( string empNo ,string pdlineId,string orderNo,string loginId);
		public SetObjectDetail GetworkOrderByPartType(string partId);
		public SetObjectDetail GetSysStockByCartonNo(string cartonNo,string partNo);
		public SetObjectDetail SaveModelNoByWorkReport(string modelNo,string cartonNo,string Num,string pdlineId,string orderNo,string loginId,string factoryId);
	}
}
